﻿using System;
using System.Data;
using System.Data.SqlClient;
namespace MDA
{
    /// <summary>
    /// 数据库连接字符串管理类
    /// </summary>
    public class ConnectData
    {
        public static string connectionString = "";
        public static string ConnectString
        {
            get
            {
                if (connectionString == "")
                    connectionString = System.Configuration.ConfigurationManager.ConnectionStrings["SQLConnectionString"].ConnectionString;
                return connectionString;
            }
            set { connectionString = value; }
        }
    }
    
}